<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class QuestionInfo extends AppModel
{
    //

    public function question(){
        return $this->belongsTo(Questionnaire::class,'questionnaire_id')->field('id,title');
    }
}
